const express = require('express');
const router = express.Router();
const r=require("../biz/users")

/* GET users listing. */
router.get('/login', function(req, res) {

   r.login(req, res)
});

router.get('/getUserInfo', function(req, res) {

    r.getUserInfo(req, res)
});

router.post('/regist', function(req, res) {
    r.regist(req, res)
});

module.exports = router;
